package com.wondertek.service.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wondertek.service.entity.sys.SysRolePo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xqs
 */
public interface SysRoleMapper extends BaseMapper<SysRolePo> {

    /**
     * 查询用户角色
     * @param userId /
     * @return /
     */
    List<SysRolePo> findListByUserId(@Param("userId") String userId,@Param("name") String name);
}
